<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>简写</title>
		<style type="text/css">
			/* flex属性是flex-grow, flex-shrink 和 flex-basis的简写，默认值为0 1 auto。后两个属性可选。 */
			.content {
				display: flex;
				width: 100%;
				background-color: #009DFD;

			}

			.item {
				flex: 1;
				flex-basis: 10%;
				border: #000000 1px solid;
			}
		</style>
	</head>
	<body>
		<div class="content">
			<div class="item">
				子元素1
			</div>
			<div class="item">
				子元素2
			</div>
			<div class="item" style="flex: 2 0 auto;">
				子元素3
			</div>
			<div class="item">
				子元素4
			</div>
			<div class="item">
				子元素5
			</div>
		</div>
	</body>
</html>
